Skip to contentSkip to conversation

building gallium/R600 fails due to missing amdgpu.h

Bug 101190 [email protected] 1 participant 2 messages May 25, 2017 – May 26, 2017

lore
Share & tools
lore
#0 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=101190

Bug ID: 101190
Summary: building gallium/R600 fails due to missing amdgpu.h
Product: Mesa
Version: git
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: NEW
Severity: major
Priority: medium
Component: Drivers/Gallium/r600
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]

Since some days I can't compile Mesa git due to the following error:

CC common/common_libamd_common_la-ac_gpu_info.lo
In file included from common/ac_gpu_info.c:26:0:
common/ac_gpu_info.h:31:20: fatal error: amdgpu.h: No such file or directory compilation terminated.
make[4]: *** [Makefile:936: common/common_libamd_common_la-ac_gpu_info.lo] Error 1
make[4]: Leaving directory 'mesa-git/src/amd'
make[3]: *** [Makefile:738: all] Error 2
make[3]: Leaving directory 'mesa-git/src/amd'
make[2]: *** [Makefile:850: all-recursive] Error 1
make[2]: Leaving directory 'mesa-git/src'
make[1]: *** [Makefile:641: all] Error 2
make[1]: Leaving directory 'mesa-git/src'
make: *** [Makefile:641: all-recursive] Error 1

Build was working fine some 2 weeks ago.

This is strange as I do not want to compile AMDGPU driver, I am compiling r600 (for a rv710 card). I have selected these drivers:
--with-dri-drivers="" --with-gallium-drivers="r600,swrast"

Even if compiling r600 needed amdgpu.h, I do have that in /usr/include/libdrm/amdgpu.h . So it may be just the including does not work right.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#1 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=101190

Eric Engestrom <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

         Resolution|---                         |DUPLICATE
             Status|NEW                         |RESOLVED

--- Comment #1 from Eric Engestrom <[email protected]> ---

*** This bug has been marked as a duplicate of bug 101189 ***

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel